package com.ls.utils;

/**
 * @author 段成
 * @date 2019/7/17 - 13:46
 */

public class StatusCode {

    //成功
    public static final int OK=0;


    //服务级错误码
    //	207301	错误的查询城市名
    public static final int WRONG_QUERY_CITY_NAME=207301;

    //	207302	查询不到该城市的相关信息
    public static final int CAN_NOT_FIND_INFORMATION_ABOUT_THE_CITY=207301;

    //	207303	网络错误，请重试
    public static final int NETWORK_ERROR=207303;

    //系统级错误码
    //	10001	错误的请求KEY
    public static final int KEY_ERROR=10001;

    //	10002	该KEY无请求权限
    public static final int KEY_NO_PERMISSION=10002;

    //	10003	KEY过期
    public static final int KEY_EXPIRED=10003;

    //	10004	错误的OPENID
    public static final int BAD_OPENID=10004;

    //	10005	应用未审核超时，请提交认证
    public static final int APPLICATION_UNREVIEWED=10005;

    //	10007	未知的请求源
    public static final int UNKNOWN_REQUEST_SOURCE=10007;

    //	10008	被禁止的IP
    public static final int BANNED_IP=10008;

    //	10009	被禁止的KEY
    public static final int FORBIDDEN_KEY=10009;

    //	10011	当前IP请求超过限制
    public static final int CURRENT_IP_REQUEST_EXCEEDS_LIMIT=10011;

    //	10012	请求超过次数限制
    public static final int REQUEST_EXCEEDED_LIMIT=10012;

    //	10013	测试KEY超过请求限制
    public static final int TEST_KEY_EXCEEDS_REQUEST_LIMIT=10013;

    //	10014	系统内部异常
    public static final int INTERNAL_SYSTEM_EXCEPTION=10014;

    //  10020	接口维护
    public static final int INTERFACE_MAINTENANCE=10020;

    /**
     *  customer模块错误信息
     */
    //金额无效
    public static final int THE_MODIFIED_AMOUNT_IS_INVALID=30001;
    //查无此用户
    public static final int CHECK_FOR_NO_SUCH_USER = 30002;


    /**
     * 	10021	接口停用
     */
    public static final int INTERFACE_DISABLED=10021;


    /*
     * 管理员模块
     *
     * **/
    //未审核
    public static final int UNAUDITED=11000;
    //已审核通过
    public static final int AUDIT_PASS=11001;
    //已审核未通过
    public static final int AUDIT_FAILED=11002;







    public static final int PARAMETER_IS_EMPTY = 11000;

    public static final int ERROR = 1001;

}
